home *** CD-ROM | disk | FTP | other *** search
-
- Malloc(300); @start( ("move") ("bw") );
- @movemfx(); % Read MFX Group Definitions
- MFXGroup( Read MFI );
- MFXGroup( Read MFO );
- % XbW Window definition for MFX Group mfi
-
- wdw( WD01 1 1 20 10 StandardWDW ); % Get a Window
- @window/gimmicks( ("WD01") (" Program 'move' Test-Window 'WD01' (P) by XbW") ); % Get some buttons
-
- $MFX:=mfi; % Set MFX Group Name
- $WDW:=WD01; % Set Window Name
- o( $WDW,("01") S . 1 3 9 1 Secure ); % This Object Exits XBW
- bg( $WDW,("01") . ("Exit XbW") );
- cn( raK ("@stop();") ); % Macro to Exit XbW
- eg();
- o( $WDW,("02") S T 11 3 30 1 Secure ); % This Object starts the User Program
- bg( $WDW,("02") . (" Start Program move") );
- tk( ("") ("move") ); % Program name
- cn( wbX ("mfi") ); % Write MFX Group Before Start
- cn( raX ("mfo") ); % Read MFX Group after End
- cn( rqK ("DrawAllWdw();") ); % Macro to Read After Drawing Queue
- eg();
- o( $WDW,("05t") S . 1 5 8 1 Remark);bg( $WDW,("05t") . ("A") ); eg(); % Description
- o( $WDW,("05") I I 9 5 8 1 Standard);bg( $WDW,("05") . (ptr)MFX:$MFX.A ); eg(); % Integer Object
- o( $WDW,("06t") S . 1 6 8 1 Remark);bg( $WDW,("06t") . ("B") ); eg(); % Description
- o( $WDW,("06") I I 9 6 8 1 Standard);bg( $WDW,("06") . (ptr)MFX:$MFX.B ); eg(); % Integer Object
- % XbW Window definition for MFX Group mfo
-
- wdw( WD02 21 1 20 10 StandardWDW ); % Get a Window
- @window/gimmicks( ("WD02") (" Program 'move' Test-Window 'WD02' (P) by XbW") ); % Get some buttons
- $MFX:=mfo; % Set MFX Group Name
- $WDW:=WD02; % Set Window Name
- o( $WDW,("01") S . 1 3 9 1 Secure ); % This Object Exits XBW
- bg( $WDW,("01") . ("Exit XbW") );
- cn( raK ("@stop();") ); % Macro to Exit XbW
- eg();
- o( $WDW,("02") S T 11 3 30 1 Secure ); % This Object starts the User Program
- bg( $WDW,("02") . (" Start Program move") );
- tk( ("") ("move") ); % Program name
- cn( wbX ("mfi") ); % Write MFX Group Before Start
- cn( raX ("mfo") ); % Read MFX Group after End
- cn( rqK ("DrawAllWdw();") ); % Macro to Read After Drawing Queue
- eg();
- o( $WDW,("07t") S . 1 7 8 1 Remark);bg( $WDW,("07t") . ("A") ); eg(); % Description
- o( $WDW,("07") I I 9 7 8 1 Standard);bg( $WDW,("07") . (ptr)MFX:$MFX.A ); eg(); % Integer Object
- o( $WDW,("08t") S . 1 8 8 1 Remark);bg( $WDW,("08t") . ("B") ); eg(); % Description
- o( $WDW,("08") I I 9 8 8 1 Standard);bg( $WDW,("08") . (ptr)MFX:$MFX.B ); eg(); % Integer Object
-
- SelectWdw( ("W001") );
- End();
-
-